package com.ecfront.dao;

import java.util.List;

import com.ecfront.pojo.Admin;

public interface AdminDAO {

	public abstract void save(Admin transientInstance);

	public abstract void delete(Admin persistentInstance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByAdminName(Object adminName);

	public abstract Admin findByAdminId(Integer id);
	
	public abstract List findAll();
	
	public abstract Admin findAdminByAdminNameAndAdminPassword(String adminName,String adminPassword);

}